
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureTaskCourse;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureTaskCourse entities.
 * 
 */
public interface CureTaskCourseDAO extends JpaDao<CureTaskCourse> {

	/**
	 * JPQL Query - findCureTaskCourseByStep
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByStep(Integer step) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByStep
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByStep(Integer step, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseById
	 *
	 */
	public CureTaskCourse findCureTaskCourseById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseById
	 *
	 */
	public CureTaskCourse findCureTaskCourseById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByTime
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByTime(java.util.Calendar time) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByTime
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByTime(Calendar time, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskCourses
	 *
	 */
	public Set<CureTaskCourse> findAllCureTaskCourses() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureTaskCourses
	 *
	 */
	public Set<CureTaskCourse> findAllCureTaskCourses(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByMemo
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByMemo
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByPrimaryKey
	 *
	 */
	public CureTaskCourse findCureTaskCourseByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByPrimaryKey
	 *
	 */
	public CureTaskCourse findCureTaskCourseByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByMemoContaining
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureTaskCourseByMemoContaining
	 *
	 */
	public Set<CureTaskCourse> findCureTaskCourseByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

}